package com.wf.smartcomm.server.bean;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.google.gson.annotations.Expose;

/** 
 * @author 38884306@qq.com  
 * @version ����ʱ�䣺2015-5-18 ����11:15:09 
 * 
 */
@Entity
@Table(name = "t_decorate")
public class Decorate {
	@Expose
	@Id
	@Column(length = 32)
	private String objectId;	
	
	@ManyToOne(fetch=FetchType.EAGER)
	@JoinColumn(name = "uid")
	private User user;
	
	@Expose
	@ManyToOne(fetch=FetchType.EAGER)
	@JoinColumn(name = "hid")
	private House house;
	
	@Expose
	@Column(length = 32)
	private String company;
	
	@Expose
	@Column(length = 10)
	private String pmName;
	
	@Expose
	@Column(length = 20)
	private String pmNumber;
	
	@Expose
	@Column(length = 20)
	private String startAt;
	
	@Expose
	@Column(length = 20)
	private String endAt;
	
	@Expose
	@Column(length = 1)
	private String status;
	
	@Expose
	@Column(length = 20)
	private String createdAt;
	
	@Expose
	@Column(length = 20)
	private String updateAt;
	
	@Expose
	@Column(length = 64)
	private String unCheckReason;
	
	@Expose
	@Column(length = 1)
	private String bailStatus;
	
	@Expose
	@Column(precision = 8,scale = 2)
	private double bailMoney;
	
	@Expose
	@Column(length=300)
	private String remark;
	
	public String getUpdateAt() {
		return updateAt;
	}

	public void setUpdateAt(String updateAt) {
		this.updateAt = updateAt;
	}

	public String getObjectId() {
		return objectId;
	}

	public void setObjectId(String objectId) {
		this.objectId = objectId;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public House getHouse() {
		return house;
	}

	public void setHouse(House house) {
		this.house = house;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public String getPmName() {
		return pmName;
	}

	public void setPmName(String pmName) {
		this.pmName = pmName;
	}

	public String getPmNumber() {
		return pmNumber;
	}

	public void setPmNumber(String pmNumber) {
		this.pmNumber = pmNumber;
	}

	public String getStartAt() {
		return startAt;
	}

	public void setStartAt(String startAt) {
		this.startAt = startAt;
	}

	public String getEndAt() {
		return endAt;
	}

	public void setEndAt(String endAt) {
		this.endAt = endAt;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getCreatedAt() {
		return createdAt;
	}

	public void setCreatedAt(String createdAt) {
		this.createdAt = createdAt;
	}

	public String getUnCheckReason() {
		return unCheckReason;
	}

	public void setUnCheckReason(String unCheckReason) {
		this.unCheckReason = unCheckReason;
	}

	public String getBailStatus() {
		return bailStatus;
	}

	public void setBailStatus(String bailStatus) {
		this.bailStatus = bailStatus;
	}

	public double getBailMoney() {
		return bailMoney;
	}

	public void setBailMoney(double bailMoney) {
		this.bailMoney = bailMoney;
	}
}
